# #!/usr/bin/env bash
# __conda_setup="$('/home/user3/yes/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
# if [ $? -eq 0 ]; then
#     eval "$__conda_setup"
# else
#     if [ -f "/home/user3/yes/etc/profile.d/conda.sh" ]; then
#         . "/home/user3/yes/etc/profile.d/conda.sh"
#     else
#         export PATH="/home/user3/yes/bin:$PATH"
#     fi
# fi

# source ~/miniconda3/etc/profile.d/conda.sh
# unset __conda_setup

# conda activate ava

# VIDEO_PATH=$1
# OUT_DIR=$2
# # python /home/user3/mmaction2_YF_2/demo/cutted_demo_spatiotemporal_det_slowfast.py --video "$VIDEO_PATH" --outdir "$OUT_DIR"
# python /home/user3/mmaction2_YF_2/demo/cutted_demo_spatiotemporal_det_slowfast.py --video "$VIDEO_PATH" --out-folder "$OUT_DIR"


#!/usr/bin/env bash


#!/usr/bin/env bash

source /home/user3/yes/etc/profile.d/conda.sh
conda activate ava

VIDEO_PATH=$1
OUT_DIR=$2

python /home/user3/mmaction2_YF_2/demo/cutted_demo_spatiotemporal_det_slowfast.py --video "$VIDEO_PATH" --out-folder "$OUT_DIR"
